#!/bin/sh -x

mydir=/projects/bsi/bioinf_ext1/s113890.senescence
mybin=$mydir
ddir=/data4/bsi/bioinf_ext1/s113890.senescence
k1dir=$ddir/link1
k2dir=$ddir/link2
k3dir=$ddir/link3
expid=E-GEOD-11954
#expid=E-GEOD-13712

export PATH="/bin:/usr/bin:/usr/local/bin:/home/sge6_2/bin/lx24-amd64"

cd $ddir

#for i in `ls link1`;do

#cd $k1dir/$i
#pwd >> $ddir/path.txt

#done

cd $ddir
#for i in `ls link2`;do

#cd $k2dir/$i
#pwd >> $ddir/path.txt

#done

#cd $ddir
#for i in `ls link3`;do

#cd $k3dir/$i
#pwd >> $ddir/path.txt

#done

for p in `cat $ddir/path.txt`;do

unzip $p/*.zip

done
